package com.czyxy;

/**
 * Created by mike on 6/8/17.
 */
public class StudentFee implements CsvWritable {
    //学生
    private String studentCode;
    private String studentName;
    private String inSchoolYear;
    private String graduateYear;

    //班级
    private String classCode;
    private String className;

    //收费项目
    private String feeCode;
    private String feeName;
    //实收明细
    private String feeYear;
    private String feeDate;
    private String feeAmount;
    private String feeNo;
    //收费明细
    private String shouldChargeAmount;
    private String adjustAmount;


    public String getStudentCode() {
        return studentCode;
    }

    public void setStudentCode(String studentCode) {
        this.studentCode = studentCode;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getInSchoolYear() {
        return inSchoolYear;
    }

    public void setInSchoolYear(String inSchoolYear) {
        this.inSchoolYear = inSchoolYear;
    }

    public String getGraduateYear() {
        return graduateYear;
    }

    public void setGraduateYear(String graduateYear) {
        this.graduateYear = graduateYear;
    }

    public String getClassCode() {
        return classCode;
    }

    public void setClassCode(String classCode) {
        this.classCode = classCode;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getFeeCode() {
        return feeCode;
    }

    public void setFeeCode(String feeCode) {
        this.feeCode = feeCode;
    }

    public String getFeeName() {
        return feeName;
    }

    public void setFeeName(String feeName) {
        this.feeName = feeName;
    }

    public String getFeeYear() {
        return feeYear;
    }

    public void setFeeYear(String feeYear) {
        this.feeYear = feeYear;
    }

    public String getFeeDate() {
        return feeDate;
    }

    public void setFeeDate(String feeDate) {
        this.feeDate = feeDate;
    }

    public String getFeeAmount() {
        return feeAmount;
    }

    public void setFeeAmount(String feeAmount) {
        this.feeAmount = feeAmount;
    }

    public String getFeeNo() {
        return feeNo;
    }

    public void setFeeNo(String feeNo) {
        this.feeNo = feeNo;
    }

    public String getShouldChargeAmount() {
        return shouldChargeAmount;
    }

    public void setShouldChargeAmount(String shouldChargeAmount) {
        this.shouldChargeAmount = shouldChargeAmount;
    }

    public String getAdjustAmount() {
        return adjustAmount;
    }

    public void setAdjustAmount(String adjustAmount) {
        this.adjustAmount = adjustAmount;
    }

    @Override
    public String toString() {
        return "StudentFee{" +
                "studentCode='" + studentCode + '\'' +
                ", studentName='" + studentName + '\'' +
                ", inSchoolYear='" + inSchoolYear + '\'' +
                ", graduateYear='" + graduateYear + '\'' +
                ", classCode='" + classCode + '\'' +
                ", className='" + className + '\'' +
                ", feeCode='" + feeCode + '\'' +
                ", feeName='" + feeName + '\'' +
                ", feeYear='" + feeYear + '\'' +
                ", feeDate='" + feeDate + '\'' +
                ", feeAmount='" + feeAmount + '\'' +
                ", feeNo='" + feeNo + '\'' +
                ", shouldChargeAmount='" + shouldChargeAmount + '\'' +
                ", adjustAmount='" + adjustAmount + '\'' +
                '}';
    }

    @Override
    public String[] toStringArray() {
        return new String[]{getStudentCode(),getStudentName(),getInSchoolYear(),getGraduateYear(),getClassCode(),getClassName(),getFeeCode(),getFeeName(),getFeeYear(),getFeeDate(),getFeeAmount(),getFeeNo(),getShouldChargeAmount(),getAdjustAmount()};
    }

    @Override
    public String[] ColumnHeaders() {
        return new String[]{"studentCode","studentName","inSchoolYear","graduateYear","classCode","className","feeCode","feeName","feeYear","feeDate","feeAmount","feeNo","shouldChargeAmount","adjustAmount"};
    }
}
